package com.yisu.auction.api.core.service;

import com.yisu.auction.api.domain.request.BasePage;
import com.yisu.auction.api.domain.request.prizePackage.CancelMineCollectRequest;
import com.yisu.auction.api.domain.request.prizePackage.PersonageCollectRequest;
import com.yisu.auction.api.domain.vo.indexPackageVos.PrizeListVo;

import java.util.List;

/**
 * author: 黄萧林
 * Business Description：个人收藏业务接口
 * createTime：2017/8/17
 */
public interface IPersonageCollectService {

    /**
     * author: 黄萧林
     * Business Description：添加我的收藏
     * @param personageCollectRequest 含prizeId,memberId
     * @return
     */
    boolean addMineCollect(PersonageCollectRequest personageCollectRequest);

    /**
     * author: 赵杰
     * Business Description：通过prizeId和MemberId，判断是否已收藏
     * @param personageCollectRequest
     * @return
     */
    boolean collectStatus(PersonageCollectRequest personageCollectRequest);

    /**
     * author:黄萧林
     * Business Description: 取消我的收藏
     * @param cancelMineCollectRequest
     * @return
     */
    boolean cancelMineCollect(CancelMineCollectRequest cancelMineCollectRequest);


    /**
     * author: 黄萧林
     * Business Description：获取我的收藏列表
     * @param basePage 含memberId
     * @return
     */
    List<PrizeListVo> getMineCollectList(BasePage basePage);
}
